private void initializeEntries() throws InvalidInputException {
		tiles = resource.extractTiles(resourceType);
		stackEntry = resource.extractStack();
		if (tiles.length == 0) {
			throw new InvalidInputException("Could not find matching resources for action: join");
		}
		if (consumeFromStack && stackEntry == null) {
			throw new InvalidInputException("Cannot find matching <pentry> for action: join");
		}
	}
Cache specific ParamEntry needed by the action

Find the first ParamEntry matching the resourceType, and the ParamEntry
corresponding to the stack if consumeFromStack is set.
@throws InvalidInputException if the required elements are not available in the resource list
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/MultiSlotAssign.java